import { defineStore } from 'pinia'

const modelStore = defineStore(
    'model', {
    state: () => ({
        module: null,
        depend_lib: null,
    }),
    getters: {

    },
    actions: {
        setModule(module) {
            this.module = module
        },
        setdepend_lib(depend_lib) {
            this.depend_lib = depend_lib
        },
    },
    /* 持久化存储  */
    // persist: true,
}
)
export default modelStore
